#include <iostream>

#include "window_factory.h"


int main(int argc, char *argv[])
{
    std::string type = argc > 1 ? argv[1] : "Demo1";

    std::unique_ptr<GlWindow> w = WindowFactory::instance().create(type);

    while (!w->shouldClose()) {
        w->frameUpdate();
    }

    return 0;
}

